function scroll_v()
{
    document.getElementById("main_height").style.height=parent.document.getElementById("mainFrame").height-10;
	

	}
	
function show0( ){
	if(document.getElementById("hid0").style.display =="none"){
		document.getElementById("hid0").style.display ="block";
	}else{
		document.getElementById("hid0").style.display ="none";		
	}
}
function show1( ){
	if(document.getElementById("hid1").style.display =="none"){
		document.getElementById("hid1").style.display ="block";
	}else{
		document.getElementById("hid1").style.display ="none";		
	}
}

function show2( ){
	if(document.getElementById("hid2").style.display =="none"){
		document.getElementById("hid2").style.display ="block";
	}else{
		document.getElementById("hid2").style.display ="none";		
	}
}

function show2_1( ){
	if(document.getElementById("hid2_1").style.display =="none"){
		document.getElementById("hid2_1").style.display ="block";
	}else{
		document.getElementById("hid2_1").style.display ="none";		
	}
}

function show3(i){
	var ert=document.getElementById("hid3_2");
	if(document.getElementById("tb2").style.display =="none"){
		document.getElementById("tb2").style.display ="block";
		ert.innerHTML="<img src='../../../resource/images/icon/icon_j.gif' width='9' height='9' />";
	}else{
		document.getElementById("tb2").style.display ="none";
		ert.innerHTML="<img src='../../../resource/images/icon/icon_jj.gif' width='9' height='9' />";
	}
}
function show4(i){
	var ert=document.getElementById("hid4_"+i);
	if(document.getElementById("drop4_"+i).style.display =="none"){
		document.getElementById("drop4_"+i).style.display ="block";
		ert.innerHTML="<img src='../../../resource/images/icon/icon_j.gif' width='9' height='9' />";
	}else{
		document.getElementById("drop4_"+i).style.display ="none";
		ert.innerHTML="<img src='../../../resource/images/icon/icon_jj.gif' width='9' height='9' />";
	}
}
function show5(i){
	var ert=document.getElementById("hid5_1");
	if(document.getElementById("drop4").style.display =="none"){
		document.getElementById("drop4").style.display ="block";
		ert.innerHTML="<img src='../../../resource/images/icon/icon_j.gif' width='9' height='9' />";
	}else{
		document.getElementById("drop4").style.display ="none";
		ert.innerHTML="<img src='../../../resource/images/icon/icon_jj.gif' width='9' height='9' />";
	}
}

function tab(i){
	var ab1=document.getElementById("tab"+i);
	if(ab1.style.display =="none"){
		for(var j=1; j<=2; j++){
		document.getElementById("tab"+j).style.display="none";
			}
		ab1.style.display ="block";
	}
}

function clo(i){
	var sel=document.getElementById("all"+i);
	var imgs=document.getElementById("img"+i);
	if(i==0){
		for(var j=1;j<=6;j++){
		document.getElementById("all"+j).style.display ="none";
		document.getElementById("img"+j).innerHTML="<img src='../../../resource/images/icon/icon_jj.gif' width='9' height='9' />";
		}
	}
	if(sel.style.display =="none"){	
		sel.style.display="block";
		imgs.innerHTML="<img src='../../../resource/images/icon/icon_j.gif' width='9' height='9' />";
	}else{
		sel.style.display ="none";
		imgs.innerHTML="<img src='../../../resource/images/icon/icon_jj.gif' width='9' height='9' />";
	}
}

function sty(i){
	var ul=document.getElementById("li"+i);
	for(var j=1;j<=6;j++){
		document.getElementById("li"+j).className="";
		}
	ul.className="on";
}

function show_drop(){
	if(document.getElementById("drop").style.display =="none"){
		document.getElementById("drop").style.display ="block";
	}else{
		document.getElementById("drop").style.display ="none";		
	}
}

function change1(i){
	var ch=document.getElementById("change"+i);
		document.getElementById("inputs").value =ch.innerText;
}

function show_search(i){
		var sear=document.getElementById("table"+i);
		for(var j=1;j<=2;j++){
		document.getElementById("table"+j).style.display="none";
		}
		sear.style.display ="block";
}

function show_thead(i){
	var head1=document.getElementById("thead"+i);
	if(head1.style.display =="none"){
		head1.style.display ="block";
	}else{
		head1.style.display ="none";
		}
}

function viewKeyInfo(e){ 
	if(event.keyCode==32){
		document.getElementById("drop2").style.display="block";
		}

}

function show_drop2(){
	if(document.getElementById("drop2").style.display =="none"){
		document.getElementById("drop2").style.display ="block";
	}else{
		document.getElementById("drop2").style.display ="none";		
	}
}

function lists(){
	document.getElementById("inputs").onkeypress= viewKeyInfo;
	}
	
function show_yjyc(){
	var y1=document.getElementById("yj1");
	var y2=document.getElementById("yj2");
	y1.style.display="none";
	y2.style.display="block";
	document.getElementById("img_m").style.display="block";
	
	}	

function show_close(){
	var clo1=document.getElementById("yjyc_show");
	var im=document.getElementById("clo1");
	if(clo1.style.display=="none"){
		clo1.style.display="block";
	im.innerHTML="<img src='../../../resource/images/icon/icon_25.gif' />";	
		}else {
			clo1.style.display="none";
		im.innerHTML="<img src='../../../resource/images/icon/icon_24.gif' />";	
			}
		
	}